﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="center.aspx.cs" Inherits="RicciWebsite.admin.center" %>

<%--<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">--%>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <style type="text/css">
        body
        {
            overflow: hidden;
        }
    </style>
</head>
<body>
     <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" style="table-layout: fixed">
        <tr>
            <%-- <td background="images/main_40.gif" style="width: 3px;">
                &nbsp;
            </td>--%>
            <td style="border-right: solid 1px #9ad452; width: 183px;" id="tdleft">
                <iframe name="left" id="left" height="100%" width="100%" border="0" frameborder="0"
                    src="left.aspx">浏览器不支持嵌入式框架，或被配置为不显示嵌入式框架。</iframe>
            </td>
            <td width="7" valign="middle">
                <a href="javascript:Submit_onclick()">
                    <img src="../images/switch_left.gif" alt="隐藏左侧导航栏" id="ImgArrow" /></a>
            </td>
            <td style="width: 100%">
                <iframe name="main" src="default.aspx" height="100%" width="100%" border="0" frameborder="0">
                    浏览器不支持嵌入式框架，或被配置为不显示嵌入式框架。</iframe>
            </td>
            <%-- <td background="images/main_42.gif" style="width: 3px;">
                &nbsp;
            </td>--%>
        </tr>
    </table>
</body>
</html>

<script language="JavaScript" type="text/javascript">
    var tdleftobj = document.getElementById("tdleft");
    var imgswit = document.getElementById("ImgArrow");
    function Submit_onclick() {

        if (tdleftobj.style.display == "none") {
            tdleftobj.style.display = "";
            imgswit.src = "../images/switch_left.gif";
            imgswit.alt = "隐藏左侧导航栏";

        } else {
            tdleftobj.style.display = "none";
            imgswit.src = "../images/switch_right.gif";
            imgswit.alt = "打开左侧导航栏";
        }
    }</script>
